package cn.wl.crm.service.impl;

import cn.wl.basic.service.impl.BaseServiceImpl;
import cn.wl.crm.domain.WxUser;
import cn.wl.crm.mapper.WxUserMapper;
import cn.wl.crm.service.IWxUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxUserServiceImpl extends BaseServiceImpl<WxUser> implements IWxUserService {

    @Autowired
    private WxUserMapper wxUserMapper;

    @Override
    public WxUser getWxUserByOpenid(String openid) {
        return wxUserMapper.getWxUserByOpenid(openid);
    }

    @Override
    public void binder(WxUser wxUser) {
        wxUserMapper.binder(wxUser);
    }
}
